Blurring data topic

Blur quantitative values in one or two dimensions.

Functions

blur(List<double> data, num radius) List<double> Blurring data
Blurs an list of data in-place by applying three iterations of a moving average transform, for a fast approximation of a gaussian kernel of the given radius, a non-negative number, and returns the list.
blur2(({List<double> data, int? height, int width}) data, int rx, [int? ry]) → ({List<double> data, int? height, int width}) Blurring data
Blurs a matrix of the given width and height in-place, by applying an horizontal blur of radius rx and a vertical blur or radius ry (which defaults to rx).
blurImage(({List<double> data, int? height, int width}) data, int rx, [int? ry]) → ({List<double> data, int? height, int width}) Blurring data
Blurs an ImageData structure in-place, blurring each of the RGBA layers independently by applying an horizontal blur of radius rx and a vertical blur or radius ry (which defaults to rx). Returns the blurred ImageData.